package com.sy.service.saleService;

import com.sy.bean.sale.ErpSale;
import com.sy.bean.sale.params.AddSale;
import com.sy.bean.sale.params.SaleQuery;
import com.sy.bean.sale.params.UpStatus;
import com.sy.common.bean.PageBean;
import com.sy.common.crud.IService;

import java.util.List;


public interface SaleService extends IService<ErpSale> {
    /**
     * 新增销售退货单
     * @param addSale 信息
     * @return 结果
     */
    int save(AddSale addSale);

    /**
     * 修改状态信息
     * @param upStatus 状态信息
     * @return 结果
     */
    int upStatus(UpStatus upStatus);
    int delete(int id);
}
